package com.mischa.atc.tests;

import junit.framework.Assert;

import org.junit.Test;

import com.mischa.atc.Controller;

public class ControllerTest {
	@Test
	public void testThatControllerInitiallyHasNoFlights()
	{
		Controller controller = new Controller();
		Assert.assertEquals(0, controller.countFlights());
	}
	
	@Test
	public void testThatFlightsCanBeAddedToController()
	{
		Controller controller = new Controller();
		controller.addFlight();
		Assert.assertEquals(1, controller.countFlights());
	}
}
